﻿using DotNetty.Buffers;
using Google.Protobuf;
using QQ.Client;
using QQ.Codecs;

namespace QQ.Packet.Request.TLV
{
    public class TLV0x52d : IRequest
    {
        private readonly QQDeviceConfig config;
        public TLV0x52d(QQDeviceConfig config)
        {
            this.config = config;
        }
        public IByteBuffer Serialize() => config.deviceInformation.ToByteArray().ToByteBuffer();
    }
}